]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
grabHelper: Propagate events while this._ignoreUntilRelease
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 18 Mar 2021 18:00:13 +0000 (19:00 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 11 May 2021 16:13:49 +0000 (16:13 +0000)
Let these events to be handled as usual, so that the grabbing actor
can handle input differently (e.g. trigger DnD) while the grabHelper
is active.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1774>

js/ui/grabHelper.js

index 532f744175a110ca01007706f613f2920055138c..e70285bdee16483d99bd4abbaaa5bb9b32cc9e55 100644 (file)
@@ -306,7 +306,7 @@ var GrabHelper = class GrabHelper {
         if (this._ignoreUntilRelease && (motion || release || touch)) {
             if (release || touchEnd)
                 this._ignoreUntilRelease = false;
-            return Clutter.EVENT_STOP;
+            return Clutter.EVENT_PROPAGATE;
         }
 
         if (this._isWithinGrabbedActor(event.get_source()))